package com.maomao.admin.domain.system.entry;

import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 角色和部门关联 sys_role_dept
 *
 * @author mao.kaiyin
 */
@Entity
@Table(name = "sys_role_dept")
public class SysRoleDept {

    @Id
    @EmbeddedId
    private RoleDeptPk id;


    public RoleDeptPk getId() {
        return id;
    }

    public void setId(RoleDeptPk id) {
        this.id = id;
    }
}
